Skip to content

docs(@angular/cli): remove references to the default project - #34382

Merged
clydin merged 2 commits into
angular:mainfrom
MeAkib:docs/remove-default-project
Oct 19, 2026
Merged

clydin merged 2 commits into
angular:mainfrom
MeAkib:docs/remove-default-project

Conversation

@MeAkib

@MeAkib MeAkib commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

The ng deploy descriptions stated that the deploy builder runs for the default project when no project name is supplied, and the ng new long description described the initial application as the workspace's default project. The CLI no longer has a default project: architect commands use the only project that has the target, or the project in the current working directory. Describe that behavior instead.

@angular-robot angular-robot Bot added area: docs Related to the documentation area: @angular/cli labels Oct 18, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the CLI command descriptions for the deploy and new commands to remove references to the deprecated "default project" concept, replacing them with the new resolution logic (such as using the project in the current working directory or the only project with a deploy target). The review feedback suggests refining the short description of the deploy command to fully align with this updated logic and the long description.

Comment thread packages/angular/cli/src/commands/deploy/cli.ts Outdated
@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Oct 19, 2026
@alan-agius4
alan-agius4 self-requested a review October 19, 2026 07:02
@alan-agius4 alan-agius4 added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Oct 19, 2026
@MeAkib
MeAkib force-pushed the docs/remove-default-project branch from 7796fef to 53f9c05 Compare October 19, 2026 08:37
The `ng deploy` descriptions stated that the deploy builder runs for the default
project when no project name is supplied, and the `ng new` long description
described the initial application as the workspace's default project. The CLI no
longer has a default project: architect commands use the only project that has
the target, or the project in the current working directory. Describe that
behavior instead.
@alan-agius4
alan-agius4 force-pushed the docs/remove-default-project branch from 53f9c05 to f3f77a9 Compare October 19, 2026 08:39
@alan-agius4
alan-agius4 force-pushed the docs/remove-default-project branch from f3f77a9 to 5ab5ece Compare October 19, 2026 08:44
@clydin
clydin merged commit 4a883c8 into angular:main Oct 19, 2026
39 checks passed
@clydin

clydin commented Oct 19, 2026

Copy link
Copy Markdown
Member

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/cli area: docs Related to the documentation target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants